.class public Lcom/android/apps/pros/LocalCReceiver;
.super Landroid/content/BroadcastReceiver;
.source "LocalCReceiver.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2

    .line 1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "android.intent.action.PACKAGE_ADDED"

    .line 2
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x0

    const-string v1, "android.intent.extra.REPLACING"

    .line 3
    invoke-virtual {p2, v1, v0}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result p2

    if-nez p2, :cond_2

    const/4 p2, 0x2

    .line 4
    invoke-static {p1, p2}, Lcom/android/apps/pros/b;->a(Landroid/content/Context;I)V

    goto :goto_0

    :cond_0
    const-string p2, "android.intent.action.PACKAGE_REMOVED"

    .line 5
    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_1

    const/4 p2, 0x3

    .line 6
    invoke-static {p1, p2}, Lcom/android/apps/pros/b;->a(Landroid/content/Context;I)V

    goto :goto_0

    :cond_1
    const-string p2, "android.intent.action.USER_PRESENT"

    .line 7
    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_2

    const/4 p2, 0x6

    .line 8
    invoke-static {p1, p2}, Lcom/android/apps/pros/b;->a(Landroid/content/Context;I)V

    :cond_2
    :goto_0
    return-void
.end method
